/*

* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     Smart-Shop开源商城系统/ Java商城-首选电商平台系统 请务必保留此注释头信息
* |     开源地址: https://gitee.com/ningbo-qishan/gruul-mall
* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     可正常分享和学习源码,未经授权 不可商用！
* |     商业版中台购买/开源版商业授权 联系技术客服
* |     官网:  https://www.73app.cn/
* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     Copyright (c) 2016-2999 宁波启山智软科技有限公司
* |     版权所有 ,侵权必究！
* ------------------------------------------------------------------------

*/
package com.medusa.gruul.platform.model.dto.agent;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author whh
 * @description
 * @data: 2020/11/15
 */
@Data
public class ApplyWithdrawDto {

    @ApiModelProperty(value = "提现金额")
    @NotNull(message = "提现金额不能为空")
    private BigDecimal amount;
    @ApiModelProperty(value = "提现方式  1-微信  2-支付宝  3-银行卡")
    @NotNull(message = "提现方式不能为空")
    private Integer type;
    @ApiModelProperty(value = "姓名")
    @NotEmpty(message = "姓名不能为空")
    private String name;
    @ApiModelProperty(value = "开户行")
    private String bankName;
    @ApiModelProperty(value = "银行卡号或者支付宝微信账号")
    @NotEmpty(message = "账号不能为空")
    private String bankNum;
}
